package com.intelligent.system.auth.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@TableName("sys_person")
public class Person {
    @TableId(type = IdType.INPUT)
    private Long id;

    private String name;
    private String job;
    private String gender;
    private String nation;
    private String contactMobile;
    private String position;
    private String degree;
    private String rank;
    private String idCard;
    private LocalDate birthDate;
    private LocalDate joinDate;
    private String status;
    private Long orgId;
    private String address;
    private String remark;
    @TableField(fill = FieldFill.INSERT)
    private String createBy;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateBy;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
    @TableLogic
    private Integer isDelete;
} 